Skip to content

Conversation

@rgommers
Copy link
Member

@rgommers rgommers commented May 18, 2023

Only the default (partial pivoting) algorithm that is implemented in all libraries and for all devices is added here. gh-627 has details on the no-pivoting case, but it's not universally supported and the only reason to add it would be that it's more performant in some cases where users know it will be numerically stable. Such an addition can be done in the future, but it seems like a potentially large amount of work for implementers for limited gain.

Closes gh-627

EDIT: I'd like to look a bit more closely at how potentially to support this in NumPy, so converted the PR to draft for now.

Only the default (partial pivoting) algorithm that is implemented
in all libraries and for all devices is added here. data-apisgh-627
has details on the no-pivoting case, but it's not universally supported
and the only reason to add it would be that it's more performant in
some cases where users know it will be numerically stable.
Such an addition can be done in the future, but it seems like a
potentially large amount of work for implementers for limited gain.

Closes data-apisgh-627
@rgommers rgommers added API extension Adds new functions or objects to the API. topic: Linear Algebra Linear algebra. labels May 18, 2023
@rgommers rgommers marked this pull request as draft May 18, 2023 18:33
@kgryte kgryte added this to the v2023 milestone May 18, 2023
@kgryte kgryte modified the milestones: v2023, v2024 Jan 25, 2024
@kgryte kgryte removed this from the v2024 milestone Oct 31, 2024
@kgryte
Copy link
Contributor

kgryte commented May 29, 2025

@rgommers Is this PR still something you are interested in pursuing?

@rgommers
Copy link
Member Author

Ah, there is a ton of discussion that happened in gh-627 after I opened this PR. I don't think this aligns with that discussion, and anyway there are things there that are hard to decide / agree on. So let me close this. Still of interest, just needs new energy.

@rgommers rgommers closed this May 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API extension Adds new functions or objects to the API. topic: Linear Algebra Linear algebra.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RFC: add support for LU factorization in the linalg extension

2 participants